const modules = import.meta.glob(`../../views/module/**/*.vue`)
const _import = (url: string) => modules[`../../views/module/${url}.vue`]


const subRoutes = [
    {
        path: '/system/dict/data',
        name: 'SystemDictData',
        component: _import('system/dictdata/IndexView'),
        meta: {
            title: '字典数据'
        }
    }
]

export default subRoutes